package com.sixth.bean.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author ljh
 * @version 1.0
 * @describition:
 * @since 2022/9/9 10:09
 **/

@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class AdminCreateVO {

    /**
     * id : 73
     * username : asdasd111
     * password : $2a$10$yARFG3cdYTtEIyjRGKsiOOUktyv/pyoPN0N5PQzvLg2NDByFVqDU6
     * addTime : 2022-09-09 10:07:34
     * updateTime : 2022-09-09 10:07:34
     * roleIds : [20,21]
     */

    private int id;
    private String username;
    private String password;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date addTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    private Integer[] roleIds;

}
